SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 49800: A "specified length too long for its datatype ..." error occurs in the Create Data Source Wizard Advanced Advisor

DetailsAboutRate It

In SAS® Text Miner, and in SAS® High-Performance Text Mining, truncation of a text variable on an Oracle database might occur. The 11g version of Oracle has a text-variable size-limit of 4000 characters. The Oracle limit applies only when reading the data on the appliance.

To ensure that you can use up to 4000 characters for a text variable, specify DBMAX_TEXT=4000 in the Oracle LIBNAME statement.

If text needs to be transcoded before it is recognized in the language that is defined in the SAS Configuration file, then you might exceed the 4000-character limit. In this situation, a message similar to the following is displayed in the Create Data Source Wizard, Advanced Advisor:

ORA-12801: error signaled in parallel query server P014, instance abcde.mycompany.com:exadat3 (3)ORA-00910: specified length too long for its datatype.

The error indicates that the DBMAX_TEXT value needs to be lowered to a value that is below 4000. A lower value enables using extra bytes that are needed during transcoding. Some characters might need multiple bytes per character when transcoding from the client encoding to the database server encoding.

A workaround for this issue is to specify 2 as the number of bytes per character within SAS® High-Performance Data Mining. To use this option in the SAS Enterprise Miner user interface, add this statement to the project start code:

%let hpdm_bytesperchar=2;


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Text MinerWindows 7 Ultimate 32 bit12.313.19.4 TS1M09.4 TS1M1
Windows 7 Professional x6412.313.19.4 TS1M09.4 TS1M1
Windows 7 Professional 32 bit12.313.19.4 TS1M09.4 TS1M1
Windows 7 Home Premium x6412.313.19.4 TS1M09.4 TS1M1
Windows 7 Home Premium 32 bit12.313.19.4 TS1M09.4 TS1M1
Windows 7 Enterprise x6412.313.19.4 TS1M09.4 TS1M1
Windows 7 Enterprise 32 bit12.313.19.4 TS1M09.4 TS1M1
Microsoft Windows XP Professional12.39.4 TS1M0
Microsoft Windows Server 2012 Std12.313.19.4 TS1M09.4 TS1M1
Microsoft Windows Server 2012 Datacenter12.313.19.4 TS1M09.4 TS1M1
Microsoft Windows Server 2008 for x6412.313.19.4 TS1M09.4 TS1M1
Microsoft Windows Server 200812.313.19.4 TS1M09.4 TS1M1
Microsoft Windows Server 2003 for x6412.39.4 TS1M0
Microsoft Windows 8 Pro12.313.19.4 TS1M09.4 TS1M1
Microsoft Windows 8 Ent12.313.19.4 TS1M09.4 TS1M1
Microsoft® Windows® for x6412.313.19.4 TS1M09.4 TS1M1
Windows 7 Ultimate x6412.313.19.4 TS1M09.4 TS1M1
64-bit Enabled AIX12.313.19.4 TS1M09.4 TS1M1
64-bit Enabled Solaris12.313.19.4 TS1M09.4 TS1M1
HP-UX IPF12.313.19.4 TS1M09.4 TS1M1
Linux for x6412.313.19.4 TS1M09.4 TS1M1
Solaris for x6412.313.19.4 TS1M09.4 TS1M1
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.